package com.bym.mall.mapper;

import com.bym.mall.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author bym
 * @since 2022-03-22
 */
public interface UserMapper extends BaseMapper<User> {

    Integer countByUsername(String username);

    Integer countByEmail(String email);


}
